package eu.szemraj.exception {     public class IndexOutOfBoundsException extends Error {      public function IndexOutOfBoundsException( index:int, lowerBound:int = int.MIN_VALUE, upperBound:int = int.MAX_VALUE ) {      	      	 var msg:String = "Index [ " + index + " ] is out of bounds";         if( lowerBound > int.MIN_VALUE && upperBound == int.MAX_VALUE ) {         	         	msg += ", it should be greater than " + lowerBound;         }         else if( lowerBound == int.MIN_VALUE && upperBound < int.MAX_VALUE ) {         	         	msg += ", it should be smaller than " + upperBound;         }         else if( lowerBound > int.MIN_VALUE && upperBound < int.MAX_VALUE ) {         	         	msg += " [ " + lowerBound + ", " + upperBound + " ]";         	         }         msg += ".";         super( msg );      }   }}